package com.crm.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description  
 * @Author  XXX 
 * @Date 2023-03-10 
 */

@Data
@TableName ("crm_purchase" )
public class CrmPurchase  implements Serializable {
	private static final long serialVersionUID =  2482394132086658250L;

	/**
	 * 采购ID
	 */
   	@TableField("p_id" )
	private Integer pId;

	/**
	 * 商品主键ID
	 */
   	@TableField("g_id" )
	private Integer gId;

	/**
	 * 采购数量
	 */
   	@TableField("p_num" )
	private Integer pNum;

	/**
	 * 采购总折扣
	 */
   	@TableField("p_discount" )
	private BigDecimal pDiscount;

	/**
	 * 付款方式
	 */
   	@TableField("p_pay" )
	private String pPay;

	/**
	 * 运费
	 */
   	@TableField("p_fare" )
	private Integer pFare;

	/**
	 * 备注
	 */
   	@TableField("p_remark" )
	private String pRemark;

	/**
	 * 采购日期
	 */
   	@TableField("p_date" )
	private Date pDate;

}
